﻿package  
{
	import com.saint.bitmapDistortion.BitmapDistortionTest2;
	import com.saint.bitmapDistortion.StretchyElasticImage;
	import com.saint.bitmapDistortion.StretchyImage;
	import com.saint.bitmapDistortion.StretchyImageAnimator;
	import com.saint.bitmapDistortion.tests.ImageCropTest;
	import com.saint.bitmapDistortion.tests.StretchyElasticImageTest;
	import com.saint.bitmapDistortion.tests.StretchyImageTest;
	import com.saint.elasticity.tests.ElasticityTest;
	import com.saint.utils.Logger;
	import fl.motion.easing.Elastic;
	import flash.display.MovieClip;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.events.TimerEvent;
	import flash.geom.Point;
	import flash.utils.Timer;
	/**
	 * ...
	 * @author kembera
	 */
	public class Main extends Sprite
	{
		private var stretchyElasticImage:StretchyElasticImage
		private var stretchyImage:StretchyImage
		private var stretchyAnimator:StretchyImageAnimator;
		private var resetButton:MovieClip;
		private var bg:Sprite = new Sprite();
		
		/* Tests */
		private var stretchyImageTest; StretchyImageTest;
		
		
		public function Main() 
		{
			Logger.setLogLevel(Logger.INFO);
			
			Logger.info("Main.Main");	
			
			/* stretchy Image */
			//stretchyImageTest = new StretchyImageTest(stage);
			
			//var elasticityTest:ElasticityTest = new ElasticityTest(stage);
			
			
			/* stretchy Elastic Image */
			var stretchyElasticImagetTest:StretchyElasticImageTest = new StretchyElasticImageTest(stage);
			
			
			/*var eTest:ElasticityTest = new ElasticityTest(stage);
			 * 
			addEventListener(Event.ENTER_FRAME, eTest.enterFrameEvent);*/
			
			
		}
		

		
	
		
		
		
	
		
		

		
	}

}